package com.yld.ch01;

public class ScottThread extends  Thread {
	
	
	
	@Override
	public void run() {
		
		//线程 具体要做事情  写在 run方法中
		
		
		String  name="huanglaoshi";
		
		for(int index=0; index<name.length();index++){
			
			System.out.print(name.charAt(index));
		}
		
		System.out.println();
		
	}

}
